package com.inspur.sc.springboot.service;

import com.inspur.sc.springboot.entity.SysUser;
import com.inspur.sc.springboot.vo.SysUserVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface SysUserService {

    Page<SysUser> findByUsernameLike(String username, Pageable pageable);

    boolean saveUser(SysUser user, List<String> roleIds);

    SysUserVO findUserById(Integer id);

    boolean deleteUserById(Integer id);

    boolean restPwd(Integer id);
}
